package com.clarence.admin.service;


import com.clarence.admin.model.Permission;
import com.clarence.base.layerui.NavNode;
import com.clarence.base.service.BaseService;

import java.util.List;

/**
 * 权限服务接口
 * 
 * @author Sunny
 */
public interface PermissionService extends BaseService<Permission, Integer> {

	/**
	 * 转成LayerUI的NAV数据格式
	 * 
	 * @param userId
	 * @return
	 */
	public List<NavNode> getNavMenu(Integer userId);
}
